from django.db import models
from django.contrib.auth.models import User

# Create your models here.
class UserProfile(models.Model):
    confirmationCode = models.CharField(max_length=200)
    alias = models.CharField(max_length=200)
    user = models.OneToOneField(User)
    
    def __unicode__(self):
        try:
            return self.user.username
        except:
            return ""


